[NTG-context] Re: preventing column break after section title

2024-04-18 Thread Peter Münster
On Thu, Apr 18 2024, Peter Münster wrote: > How could I prevent a column break after the second section title please? Ok, found it: \setupitemize[each][autointro] -- Peter ___ If your quest

[NTG-context] preventing column break after section title

2024-04-18 Thread Peter Münster
Hi, How could I prevent a column break after the second section title please? Minimal example: \starttext \startcolumns[n=2] \section{title 1} \dorecurse{22}{bla\par} \section{title 2} % Here starts a new column. \startitemize \dorecurse{15}{\item bla} \stopitemize \stopcolumns

[NTG-context] Re: how to apply metapost effects to section title?

2024-04-09 Thread Wolfgang Schuster
for i within tt : pathpart i && endfor cycle withshademethod "linear" withshadedirection up withshadecolors (red, blue) ; \stopMPcode } \definehead[Myhead][section] \setuphead[Myhead][ style=\Mystyle, ] \startMyhead[title=sample] a sample text

[NTG-context] how to apply metapost effects to section title?

2024-04-09 Thread seyal . zavira
withshademethod "linear" withshadedirection up withshadecolors (red, blue) ; \stopMPcode } \definehead[Myhead][section] \setuphead[Myhead][ style=\Mystyle, ] \startMyhead[title=sample] a sample text \stopMyhead \stoptext and the code below works but does not colo

[NTG-context] Re: How to set section title based on section content?

2024-03-09 Thread Wolfgang Schuster
Joel via ntg-context schrieb am 09.03.2024 um 16:01: How to set section title based on section content? I have a document that has some structures like this: \starttext \startsection[title={Animals}] \event{\input knuth } \stopsection \startsection[title={Books}] \event{\input knuth

[NTG-context] How to set section title based on section content?

2024-03-09 Thread Joel via ntg-context
How to set section title based on section content? I have a document that has some structures like this: \starttext \startsection[title={Animals}] \event{\input knuth } \stopsection \startsection[title={Books}] \event{\input knuth } \stopsection \stoptext The event macro runs a bunch

[NTG-context] multicolumn title and abstact (bachotex) using tugboat.mkxl

2024-03-07 Thread Damien Thiriet via ntg-context
] \enforced\let\\\endgraf \setups[tugboat:abstract:setup] \startAbstracts[title={Abstract}] \stopAbstracts } \stopStreszczenia \stopDane} \stopplacefigure \stopsetups \startsetups

[NTG-context] Re: How to print the book title and section title where \reference is located?

2024-02-09 Thread Bruce Horrocks
t; Taking you literally in that you want a *file* listing the occurences and not a typeset page listing the occurrences then you could try using the following in your document at the places where you currently put \requirementA etc: \writestatus{RequirementMet}{Requirement A is met in sectio

[NTG-context] How to print the book title and section title where \reference is located?

2024-02-06 Thread Joel via ntg-context
I have an extensive multi-book project. Each book has a nickname, like TB for "Textbook", "WB 1" for the "Workbook, Vol. 1": TB -- 01_textbook.texWB 1 -- 03_workbook.texWB 2 -- 04_workbook.texWB 3 -- 05_workbook.tex WB 4 -- 06_workbook.tex TG -- 08_teachersguide.tex I have to prove to a

[NTG-context] Re: Section number in the margin and the section title followed by paragraph!

2024-01-28 Thread Wolfgang Schuster
|<>| ##. SECTION TITLE paragraph ... . |<-->| margin ``` I wanted paragraph to begin on the same line the section title lies. \define[1]\SectionNumberCommand   {\margindata[inmargin]

[NTG-context] Re: Section number in the margin and the section title followed by paragraph!

2024-01-27 Thread Pablo Rodriguez via ntg-context
On 1/27/24 17:40, Ali Ali wrote: > Thanks, those seems close to what I wanted but not exactly. > > The ASCII graphic (better in typewriter font) may explain what I desired, > ``` > text width > |<>| > > ##.

[NTG-context] Re: Section number in the margin and the section title followed by paragraph!

2024-01-27 Thread Ali Ali
Thanks, those seems close to what I wanted but not exactly. The ASCII graphic (better in typewriter font) may explain what I desired, ``` text width |<>| ##. SECTION TITLE par

[NTG-context] Re: Section number in the margin and the section title followed by paragraph!

2024-01-27 Thread Wolfgang Schuster
Ali Ali schrieb am 27.01.2024 um 06:03: I've able to achieve the results I wanted by trial/e using the code shown below. """ \def\subsecnumwrapper#1{\llap{#1\hskip8pt}} \setuphead[subsection][alternative=text,numbercommand=\subsecnumwrapper,distance=0pt] """ I just wanted to know if there

[NTG-context] Section number in the margin and the section title followed by paragraph!

2024-01-26 Thread Ali Ali
I've able to achieve the results I wanted by trial/e using the code shown below. """ \def\subsecnumwrapper#1{\llap{#1\hskip8pt}} \setuphead[subsection][alternative=text,numbercommand=\subsecnumwrapper,distance=0pt] """ I just wanted to know if there already an option defined to achieve the

[NTG-context] Re: Reinserting a section title followed by (continued) after a page break

2023-09-04 Thread Hans Hagen via ntg-context
On 9/4/2023 5:55 AM, Calvin Ross wrote: On the off chance anyone seeing this is interested, I have a solution uploaded as part of a module I wrote for screenplay and stageplay writing: https://github.com/cjayross/drama.mkiv/blob/4a9b2576c8630fd03352d95f99456092f6e21190/drama.mkiv#L480 A few

[NTG-context] Re: Reinserting a section title followed by (continued) after a page break

2023-09-03 Thread Calvin Ross
On the off chance anyone seeing this is interested, I have a solution uploaded as part of a module I wrote for screenplay and stageplay writing: https://github.com/cjayross/drama.mkiv/blob/4a9b2576c8630fd03352d95f99456092f6e21190/drama.mkiv#L480 The solution ended up being very detailed and

[NTG-context] Reinserting a section title followed by (continued) after a page break

2023-07-30 Thread Calvin Ross
I'm trying to use ConTeXt for playwriting, and I think it would be best to use sections for dialog. However, if a dialog's text is interrupted by a page break, it is customary to restate the character name followed by (continued) on the following page: --- open --- John My name is

[NTG-context] Re: Title pages makeup extra blank pages

2023-07-06 Thread Wolfgang Schuster
Alan Braslau schrieb am 06.07.2023 um 17:14: On 06/07/23 06/07/23, 17:07, Wolfgang Schuster wrote: Add "doublesided=no" to your makeup settings. Wolfgang Thank you. I have doublesided=no in the makeup, but this makeup is not used by \startpagefigure. The problem is with \startpagefigure

[NTG-context] Re: Title pages makeup extra blank pages

2023-07-06 Thread Alan Braslau via ntg-context
On 06/07/23 06/07/23, 17:07, Wolfgang Schuster wrote: Add "doublesided=no" to your makeup settings. Wolfgang Thank you. I have doublesided=no in the makeup, but this makeup is not used by \startpagefigure. The problem is with \startpagefigure that is outside of makeup, that is it is

[NTG-context] Re: Title pages makeup extra blank pages

2023-07-06 Thread Wolfgang Schuster
e after the backside title page. I don’t know if it helps, but did you set \setupsectionblock[frontpart][page=no] ? I had \setupsectionblock[frontpart][page=] and setting page=no does not change anything. I get the same behavior in my Volume 2 product, which does not have any \frontmatter.

[NTG-context] Re: Title pages makeup extra blank pages

2023-07-06 Thread Wolfgang Schuster
] back \stopmakeup \startfrontmatter ... \stopfrontmatter ... \stopdocument inserts a "blank" page (with header/footer) between the two Coverpages and a second "blank" page after the backside title page. Not including the two \startpagefigure lines eliminates the blank page

[NTG-context] Re: Title pages makeup extra blank pages

2023-07-06 Thread Henning Hraban Ramm
Am 06.07.23 um 11:58 schrieb Alan Braslau: Maybe it’s also a problem of \startdocument – I always get a first empty page and don’t understand why. One gets an empty first page if there is *any* text content anywhere in the setups or environment files before the \startdocument. My problem

[NTG-context] Re: Title pages makeup extra blank pages

2023-07-06 Thread Alan Braslau via ntg-context
On 06/07/23 06/07/23, 10:14, Henning Hraban Ramm wrote: Am 06.07.23 um 09:34 schrieb Alan Braslau via ntg-context: inserts a "blank" page (with header/footer) between the two Coverpages and a second "blank" page after the backside title page. I don’t know if it he

[NTG-context] Re: Title pages makeup extra blank pages

2023-07-06 Thread Henning Hraban Ramm
Am 06.07.23 um 09:34 schrieb Alan Braslau via ntg-context: inserts a "blank" page (with header/footer) between the two Coverpages and a second "blank" page after the backside title page. I don’t know if it helps, but did you set \setupsectionblock[frontpart][page=no

[NTG-context] Title pages makeup extra blank pages

2023-07-06 Thread Alan Braslau via ntg-context
... \stopdocument inserts a "blank" page (with header/footer) between the two Coverpages and a second "blank" page after the backside title page. Not including the two \startpagefigure lines eliminates the blank page following the back side title page (and the other one between

Re: [NTG-context] expansion of section title

2023-06-27 Thread Henning Hraban Ramm via ntg-context
Am 27.06.23 um 21:01 schrieb Wolfgang Schuster via ntg-context: Henning Hraban Ramm via ntg-context schrieb am 27.06.2023 um 20:55: \defineregister[todos] % add a "todos" index entry with the current section title \define[1]\TODO{\todos{\structurevariable{title}}} \chapter{Someth

Re: [NTG-context] expansion of section title

2023-06-27 Thread Wolfgang Schuster via ntg-context
Henning Hraban Ramm via ntg-context schrieb am 27.06.2023 um 20:55: \defineregister[todos] % add a "todos" index entry with the current section title \define[1]\TODO{\todos{\structurevariable{title}}} \chapter{Something} \TODO{This is still empty!} % at the end of the book \chapter

[NTG-context] expansion of section title

2023-06-27 Thread Henning Hraban Ramm via ntg-context
I think I had a good idea how to keep an overview of the “todos” in my book project: \defineregister[todos] % add a "todos" index entry with the current section title \define[1]\TODO{\todos{\structurevariable{title}}} \chapter{Something} \TODO{This is still empty!} % at the end o

Re: [NTG-context] Visual highlighted text with title, mix of enumeration and framedtext

2023-03-06 Thread Aditya Mahajan via ntg-context
nd=color, > > width=0.95\textwidth, > > backgroundcolor=gbackground] > > > > However, there does not seem a possibility to define a title and it > > seems to not work on multiple pages. > > > > Is there a mix

Re: [NTG-context] Visual highlighted text with title, mix of enumeration and framedtext

2023-03-06 Thread Henning Hraban Ramm via ntg-context
offset=5pt, background=color, width=0.95\textwidth, backgroundcolor=gbackground] However, there does not seem a possibility to define a title and it seems to not work on multiple pages. Is there a mix of an enumeration and framedtex

[NTG-context] Visual highlighted text with title, mix of enumeration and framedtext

2023-03-06 Thread Gerion Entrup via ntg-context
ound=color, width=0.95\textwidth, backgroundcolor=gbackground] However, there does not seem a possibility to define a title and it seems to not work on multiple pages. Is there a mix of an enumeration and framedtext that can produce something like in the attached picture? Be

Re: [NTG-context] Chapter title in MetaFun manual.

2023-02-10 Thread Jeong Dal via ntg-context
오후 9:05, Jeong Dal via ntg-context 작성: > > Dear all, > > I copied the code of defining chapter command from metafun-000.tex, and run > it. > But the result is different from that in MetaFun Manual. > There is a big spaces between the number and the title which yields the

[NTG-context] Chapter title in MetaFun manual.

2023-02-10 Thread Jeong Dal via ntg-context
Dear all, I copied the code of defining chapter command from metafun-000.tex, and run it. But the result is different from that in MetaFun Manual. There is a big spaces between the number and the title which yields the number cannot be seen. I commented out several lines which seems

Re: [NTG-context] Write a long chapter title in two lines

2022-08-19 Thread Hans Hagen via ntg-context
On 8/19/2022 3:03 AM, Jeong Dal wrote: Dear all, A few days ago, I sent an email as follows. But it is linked to another subject because I choose reply of another subject. So, I send the same mail again. \startuseMPgraphic{outlineT} draw lmt_outline [ text = \MPvar{tt},

[NTG-context] Write a long chapter title in two lines

2022-08-18 Thread Jeong Dal via ntg-context
Dear all, A few days ago, I sent an email as follows. But it is linked to another subject because I choose reply of another subject. So, I send the same mail again. Thank you for reading. Best regards, Dalyoung ** I’d like to write a long chapter title in two lines if it is longer

[NTG-context] Write a long chapter title in two lines

2022-08-15 Thread Jeong Dal via ntg-context
Dear all, I’d like to write a long chapter title in two lines if it is longer than the textwidth. It is OK when I use just bigger fonts. But it writes the long title in one line if I use outlined font for title as in MWE. Is there a way to write it in two lines using the outlined font

[NTG-context] Numbercommand and title

2022-08-12 Thread Fabrice Couvreur via ntg-context
Hello, How to make the period after the number be after the second parenthesis when there is a title like this Définition 1.1 (Title). ? Thanks Fabrice \definestructureconversionset [structure] [n, R, n, n, n] [n] \defineconversionset [digit

[NTG-context] How to define a section title, after the section title appears?

2022-06-12 Thread Joel via ntg-context
I have a document with conditionally-generated content. There are some situations when I need the section title to change according to the content displayed within that section. For instance, the 14th section that appears in *every* chapter is either called "Cause and Effect" if the

[NTG-context] How can I get a section title to change depending on the section content?

2022-01-29 Thread Joel via ntg-context
lse Print this stuff about pigeons instead. \fi Basically the content inside that section can change, either being about rabbits or about pigeons. I need the section title to follow that change, the problem is the section title appears before this code, so defining some variable in the later c

Re: [NTG-context] how to place getmarking[title] in header instead of getmarking[chapter]

2022-01-04 Thread fv leung via ntg-context
can use this for the header: \setupheadertexts [text] [{\namedstructurevariable{chapter}{title}}] [] [] [{\namedstructurevariable{chapter}{title}}] juh via ntg-context 於 2022年1月5日 週三 上午12:28寫道: > Hi all, > > I know how to put the current chapter in the header. > > But how

[NTG-context] how to place getmarking[title] in header instead of getmarking[chapter]

2022-01-04 Thread juh via ntg-context
Hi all, I know how to put the current chapter in the header. But how can I also put the value of \starttitle in the header. In this mwe the \starttitle command does not modify the header. Is it possible to do something like: \getmarking[chapter or title] I cannot include \setmarking

Re: [NTG-context] Title for tabulate

2021-12-17 Thread Hans Hagen via ntg-context
On 12/17/2021 8:25 AM, Benjamin Buchmuller wrote: Yes, this works! Thanks! I'll try to add a section on the Wiki. Is there a reason why the second approach works while the other doesn't? expansion etc so just stick to what works Hans

Re: [NTG-context] Title for tabulate

2021-12-16 Thread Benjamin Buchmuller via ntg-context
Yes, this works! Thanks! I'll try to add a section on the Wiki. Is there a reason why the second approach works while the other doesn't? > On Dec 16, 2021, at 12:46, Hans Hagen wrote: > > On 12/16/2021 11:39 AM, Benjamin Buchmuller wrote: >> Thanks again, Hans, for all the different

Re: [NTG-context] Title for tabulate

2021-12-16 Thread Hans Hagen via ntg-context
On 12/16/2021 11:39 AM, Benjamin Buchmuller wrote: Thanks again, Hans, for all the different approaches, very instructive! However, after playing around a bit, I do have a question that I can't work out: \getdummyparameters[headtitle=,#1] \ifempty{\dummyparameter{headtitle}} can you try

Re: [NTG-context] Title for tabulate

2021-12-16 Thread Benjamin Buchmuller via ntg-context
;> hints to improve the answer are welcome.) I wanted to use this argument for >> an easy specification of, well, a title for a "recipe". The advantage is >> that all information is held together and it's easy to use for people who >> are not (too) familiar with ConTeXt. &

Re: [NTG-context] Title for tabulate

2021-12-14 Thread Hans Hagen via ntg-context
for an easy specification of, well, a title for a "recipe". The advantage is that all information is held together and it's easy to use for people who are not (too) familiar with ConTeXt. So, in one file I can define all styles (which the end-user would not need to see): \definetabul

Re: [NTG-context] Title for tabulate

2021-12-14 Thread Benjamin Buchmuller via ntg-context
Hi! I'd like to follow up on a problem that Denis came across recently with the titles argument in tabulate. (It's more a solution than a question, but any hints to improve the answer are welcome.) I wanted to use this argument for an easy specification of, well, a title for a "r

Re: [NTG-context] Title for tabulate

2021-11-30 Thread Denis Maier via ntg-context
> -Ursprüngliche Nachricht- > Von: Hans Hagen > Gesendet: Sonntag, 28. November 2021 14:26 > An: Maier, Denis Christian (UB) ; ntg- > cont...@ntg.nl > Betreff: Re: AW: [NTG-context] Title for tabulate > > On 11/28/2021 1:22 PM, denis.ma...@unibe.ch wrote: >

Re: [NTG-context] Title for tabulate

2021-11-28 Thread Hans Hagen via ntg-context
On 11/28/2021 1:22 PM, denis.ma...@unibe.ch wrote: -Ursprüngliche Nachricht- Von: ntg-context Im Auftrag von Hans Hagen via ntg-context Gesendet: Sonntag, 28. November 2021 12:40 An: Denis Maier via ntg-context Cc: Hans Hagen Betreff: Re: [NTG-context] Title for tabulate On 11/28

Re: [NTG-context] Title for tabulate

2021-11-28 Thread Denis Maier via ntg-context
> -Ursprüngliche Nachricht- > Von: ntg-context Im Auftrag von Hans Hagen > via ntg-context > Gesendet: Sonntag, 28. November 2021 12:40 > An: Denis Maier via ntg-context > Cc: Hans Hagen > Betreff: Re: [NTG-context] Title for tabulate > > On 11/28/2021 9

Re: [NTG-context] Title for tabulate

2021-11-28 Thread Hans Hagen via ntg-context
On 11/28/2021 9:15 AM, Denis Maier via ntg-context wrote: A couple of questions : - Is it possible to have the title be typeset only once? I.e., it should not repeat on each page. why not just use \subsubsubject{

[NTG-context] Title for tabulate

2021-11-28 Thread Denis Maier via ntg-context
[ header=text, split=yes, title={Fenchurch St. Paul}, ] \starttabulate[|p|p|] \dorecurse{6}{ \NC Bells: \NC Tin tan din dan bim bam bom bo \NC\NR \HL \NC Name: \NC Tailor Paul \NC \NR \HL } \stoptabulate \stoptext

Re: [NTG-context] Title in enumeration not working?

2020-12-30 Thread Mikael Sundqvist
Hi, Thanks for the fix, Hans (version 2020.12.30 16:45 looks fine!) /Mikael On Mon, Dec 21, 2020 at 3:11 PM Otared Kavian wrote: > Hi Mikael, > > Indeed you are right about the fact that > > \startexample[title={Title}] > ... > \stopexample > > > is more lo

Re: [NTG-context] Title in enumeration not working?

2020-12-21 Thread Otared Kavian
Hi Mikael, Indeed you are right about the fact that > \startexample[title={Title}] > ... > \stopexample is more logical and also more convenient. Sorry for not having checked your example in mkiv, where this structure works as intended. So it might be a small buglet in LMTX. Bes

Re: [NTG-context] Title in enumeration not working?

2020-12-21 Thread Mikael Sundqvist
Hi Otared, Thank you for your suggestion. I would say yes and no. I want the result one gets from what you write, but I prefer the syntax \startexample[title={Title}] ... \stopexample and that has been working before. Reading in setup-en.pdf, it also looks to me as if that should work. Best

Re: [NTG-context] Title in enumeration not working?

2020-12-21 Thread Otared Kavian
Hi Mickael, Maybe this is what you want: \defineenumeration[example] [text=Example, title=yes, titleleft=, titleright={.}, ] \starttext \startexample{Title} This is a test. \stopexample \stoptext Of course is you say text=, then you get only

[NTG-context] Title in enumeration not working?

2020-12-21 Thread Mikael Sundqvist
Hi, Has anything changed with titles and enumerations? I expected a title "Title" with the following setup. \defineenumeration[example][ text=Example, title=yes, ] \starttext \startexample[title={Title}] This is a test. \stopexample \stoptext But it does not show up

Re: [NTG-context] How to reproduce a particular head/title style (reformat)

2020-11-15 Thread Willi Egger
I would like to learn "how to ConTeXt" complex titles styles like the one >> seen in the following document: >> - https://wiki.contextgarden.net/images/f/f1/Screenshot_20201103_220818.png >> - source document: >> https://www.hautconseilclimat.fr/wp-content/upload

Re: [NTG-context] How to reproduce a particular head/title style (reformat)

2020-11-15 Thread Pablo Rodriguez
On 11/15/20 7:53 PM, Garulfo wrote: > [...] > Initial PDF document: > https://www.hautconseilclimat.fr/wp-content/uploads/2020/10/hcc_rapport_maitriser-lempreinte-carbone-de-la-france-1.pdf > [...] > ConTeXt output : >

Re: [NTG-context] How to reproduce a particular head/title style (reformat)

2020-11-15 Thread Garulfo
ilclimat.fr/wp-content/uploads/2020/10/hcc_rapport_maitriser-lempreinte-carbone-de-la-france-1.pdf 1. doublesided document 2. on both side, section title are underlined by a red rule, always "left aligned" in the text area, shifted to the right by the same distance than it is done for the te

Re: [NTG-context] page ends with a section title followed by a table

2020-11-10 Thread Aditya Mahajan
On Tue, 10 Nov 2020, Sylvain Hubert wrote: > Indeed. Thanks for the information! > > For the record, this is how the problem is finally solved: > > \setuphead[section][after={\blank[sampage]}] > \begingroup\setupindenting[no]\dontleavehmode\startxtable … > \stopxtable\endgroup Unless

Re: [NTG-context] page ends with a section title followed by a table

2020-11-10 Thread Sylvain Hubert
amepage]\hskip 0pt}] > > \starttext > > \showframe > > \dorecurse{50}{a } > > \startsection[title=spec] > > \startxtable > > > What happens when you \hskip is that you switch to horizontal > mode and the preferred to do this is to use

Re: [NTG-context] page ends with a section title followed by a table

2020-11-10 Thread Wolfgang Schuster
Sylvain Hubert schrieb am 10.11.2020 um 19:11: Weirdly enough, "\hskip 0pt" solves the problem.     \setuphead[section][after={\blank[samepage]\hskip 0pt}]     \starttext     \showframe     \dorecurse{50}{a }     \startsection[title=spec]     \startxtable What happens when

Re: [NTG-context] page ends with a section title followed by a table

2020-11-10 Thread Sylvain Hubert
On Tue, 10 Nov 2020 at 18:25, Wolfgang Schuster < wolfgang.schuster.li...@gmail.com> wrote: > Sylvain Hubert schrieb am 10.11.2020 um 18:06: > > > Thanks for the suggestion, but as illustrated by the second example, > > copied here, where the section title i

Re: [NTG-context] page ends with a section title followed by a table

2020-11-10 Thread Wolfgang Schuster
Sylvain Hubert schrieb am 10.11.2020 um 18:06: Thanks for the suggestion, but as illustrated by the second example, copied here, where the section title is at the top of the page:     \starttext     \showframe     \dorecurse{50}{a }     \startsection[title=spec][before={\blank[preference

Re: [NTG-context] page ends with a section title followed by a table

2020-11-10 Thread Sylvain Hubert
On Tue, 10 Nov 2020 at 17:54, Wolfgang Schuster < wolfgang.schuster.li...@gmail.com> wrote: > Pablo Rodriguez schrieb am 10.11.2020 um 15:59: > > On 11/10/20 9:55 AM, Sylvain Hubert wrote: > >> Dear List, > >> > >> In the following example,

Re: [NTG-context] page ends with a section title followed by a table

2020-11-10 Thread Sylvain Hubert
dorecurse{50}{a } > > \startsection[title=spec] > > \startxtable > Hi Sylvain, > > no fix is required when you allow the table to be split: > > \startxtable[split=yes] > > Pablo > Hi Pablo, Thanks for the suggestion, but unlike the MWE, in

Re: [NTG-context] page ends with a section title followed by a table

2020-11-10 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 10.11.2020 um 15:59: On 11/10/20 9:55 AM, Sylvain Hubert wrote: Dear List, In the following example, the section title appears at the very end of the first page. [...] Does anyone know where to adjust the penalty in this case, so that the section title can

Re: [NTG-context] page ends with a section title followed by a table

2020-11-10 Thread Pablo Rodriguez
On 11/10/20 5:23 PM, Sylvain Hubert wrote: > My mistake, but the problem survives the fix: > >     \setuphead[section][after={\blank[samepage,big]}] >     \starttext >     \showframe >     \dorecurse{50}{a } >     \startsection[title=spec] >     \startxtable Hi Sylvain,

Re: [NTG-context] page ends with a section title followed by a table

2020-11-10 Thread Sylvain Hubert
My mistake, but the problem survives the fix: \setuphead[section][after={\blank[samepage,big]}] \starttext \showframe \dorecurse{50}{a } \startsection[title=spec] \startxtable \startxrow \startxcell[ny=30]a\stopxcell\startxcell 1\stopxcell \stopxrow

Re: [NTG-context] page ends with a section title followed by a table

2020-11-10 Thread Sylvain Hubert
On Tue, 10 Nov 2020 at 16:00, Pablo Rodriguez wrote: > On 11/10/20 9:55 AM, Sylvain Hubert wrote: > > Dear List, > > > > In the following example, the section title appears at the very end of > > the first page. > > [...] > > Does anyone know where

Re: [NTG-context] page ends with a section title followed by a table

2020-11-10 Thread Pablo Rodriguez
On 11/10/20 9:55 AM, Sylvain Hubert wrote: > Dear List, > > In the following example, the section title appears at the very end of > the first page. > [...] > Does anyone know where to adjust the penalty in this case, so that the > section title can be repositioned to the n

[NTG-context] page ends with a section title followed by a table

2020-11-10 Thread Sylvain Hubert
Dear List, In the following example, the section title appears at the very end of the first page. \showframe \starttext \dorecurse{94}{a b c }\\ \dorecurse{94}{a b c }\\ \dorecurse{94}{a b c }\\ \dorecurse{94}{a b c }\\ \dorecurse{94}{a b c }\\ \dorecurse{30}{a b

Re: [NTG-context] temporarily move up a section title

2020-11-08 Thread Sylvain Hubert
On Sun, 8 Nov 2020 at 10:12, Wolfgang Schuster < wolfgang.schuster.li...@gmail.com> wrote: > Sylvain Hubert schrieb am 08.11.2020 um 03:19: > > Dear List, > > > > I'm trying to move up a section title (section b) 2cm upward: > > > > \starttext > >

Re: [NTG-context] temporarily move up a section title

2020-11-08 Thread Sylvain Hubert
Hi Hraban, On Sun, 8 Nov 2020 at 07:57, Henning Hraban Ramm wrote: > > > > Am 08.11.2020 um 03:19 schrieb Sylvain Hubert : > > > > Dear List, > > > > I'm trying to move up a section title (section b) 2cm upward: > > > > \startte

Re: [NTG-context] temporarily move up a section title

2020-11-08 Thread Wolfgang Schuster
Sylvain Hubert schrieb am 08.11.2020 um 03:19: Dear List, I'm trying to move up a section title (section b) 2cm upward:     \starttext     \section{a}     \blank[-2cm,force]\ \blank[back,disable] Wolfgang

Re: [NTG-context] temporarily move up a section title

2020-11-07 Thread Henning Hraban Ramm
> Am 08.11.2020 um 03:19 schrieb Sylvain Hubert : > > Dear List, > > I'm trying to move up a section title (section b) 2cm upward: > > \starttext > \section{a} > \blank[-2cm,force]\ > \section{b} > \section{c} > \stoptext >

[NTG-context] temporarily move up a section title

2020-11-07 Thread Sylvain Hubert
Dear List, I'm trying to move up a section title (section b) 2cm upward: \starttext \section{a} \blank[-2cm,force]\ \section{b} \section{c} \stoptext The empty space (\ ) after the \blank is necessary here, without which the \blank does nothing. I would like to ask

[NTG-context] How to reproduce a particular head/title style (reformat)

2020-11-03 Thread Garulfo
cument 2. on both side, section title are underlined by a red rule, always "left aligned" in the text area, shifted to the right by the same distance than it is done for the text of the title, which ends at the right border of the page 3. on the left page : section title are overli

[NTG-context] How to reproduce a particular head/title style

2020-11-03 Thread Garulfo
o describe the specification here : doublesided document on both side, section title are underlined by a red rule, always "left aligned" in the text area, shifted to the right by the same distance than it is done for the text of the title, whi

Re: [NTG-context] \title with extra content in toc

2020-08-11 Thread Mikael Sundqvist
I do not recommend against the start/stop variant, but in this case I think you can also do \chapter[title=..., list=..., bookmark=...] /Mikael Den ons 12 aug. 2020 05:46jbf skrev: > That is clear enough and works (of course!) and reminds me that I'm > better off using the \star

Re: [NTG-context] \title with extra content in toc

2020-08-11 Thread jbf
That is clear enough and works (of course!) and reminds me that I'm better off using the \starttitle...\stoptitle format than just \title as I have been. J On 12/8/20 1:23 pm, Aditya Mahajan wrote: [   title={Title of chapter},   list={What appears in TOC},   bookmark={What

Re: [NTG-context] \title with extra content in toc

2020-08-11 Thread Aditya Mahajan
On Wed, 12 Aug 2020, jbf wrote: Still dealing with \title, but am creating a separate thread because the question is different. As well as using \title within frontmatter (my previous question was about the header not appearing on final page if it is an odd/recto page) I am also using

[NTG-context] \title with extra content in toc

2020-08-11 Thread jbf
Still dealing with \title, but am creating a separate thread because the question is different. As well as using \title within frontmatter (my previous question was about the header not appearing on final page if it is an odd/recto page) I am also using it in the main body for 'chapters

Re: [NTG-context] Using variables and macros for styling of section title and line in table of contents

2020-07-22 Thread James Withers
-2DD7-40BB-A1B8-4E2AA1F9FDF2> On Wed, 22 Jul 2020 at 20:38, Wolfgang Schuster < wolfgang.schuster.li...@gmail.com> wrote: > James Withers schrieb am 22.07.2020 um 21:20: > > Dear list > > > > I have a document with section headings which include a title, date and >

Re: [NTG-context] Using variables and macros for styling of section title and line in table of contents

2020-07-22 Thread Wolfgang Schuster
James Withers schrieb am 22.07.2020 um 21:20: Dear list I have a document with section headings which include a title, date and reference spread over two lines with different font style and justification, plus a slightly different text for the table of contents. So that I can alter

[NTG-context] Using variables and macros for styling of section title and line in table of contents

2020-07-22 Thread James Withers
Dear list I have a document with section headings which include a title, date and reference spread over two lines with different font style and justification, plus a slightly different text for the table of contents. So that I can alter the styling of the section headings without having

[NTG-context] re vertical space between Chapter number and title

2020-07-09 Thread jbf
I have found my own answer to the question I asked earlier: \setuppapersize[A4] \setuplabeltext [en] [chapter=~] \define[2]\MyChapter   {\framed[frame=off,width=broad,align=middle]{#1\blank[2cm]#2}} \setuphead [chapter] [command=\MyChapter] \chapter{Chapter title} It was simply a matter

Re: [NTG-context] Vertical space between label and title

2020-07-09 Thread Fabrice Couvreur
l.com>: > > > > Hello, > > I want a vertical space between the label and the chapter title: is this > the right way to proceed ? > > Why not? It seems to work. What’s your problem? > > BTW I’d set \mainlanguage[fr] > > Hraban > > __

[NTG-context] more space between Chapter number and title

2020-07-09 Thread jbf
Hi, I am using \setuppapersize[A4] \setuplabeltext [en] [chapter=~] \define[2]\MyChapter   {\framed[frame=off,width=broad,align=middle]{#1\\#2}} \setuphead [chapter] [command=\MyChapter] \chapter{Chapter title} to successfully achieve the following result:   1

Re: [NTG-context] Vertical space between label and title

2020-07-07 Thread Henning Hraban Ramm
> Am 07.07.2020 um 19:27 schrieb Fabrice Couvreur : > > Hello, > I want a vertical space between the label and the chapter title: is this the > right way to proceed ? Why not? It seems to work. What’s your problem? BTW I’d set \mainlangu

[NTG-context] Vertical space between label and title

2020-07-07 Thread Fabrice Couvreur
Hello, I want a vertical space between the label and the chapter title: is this the right way to proceed ? Thank you. Fabrice \setuplabeltext[chapter=Chapitre~] \unexpanded\def\Title#1#2{\framed[frame=off,width=fit,align=flushleft]{#1\blank#2}} \setuphead [chapter] [style=\bfc, command

Re: [NTG-context] French interface - previous message = wrong title

2020-06-24 Thread Hans Hagen
On 6/24/2020 11:01 PM, Garulfo wrote: Hi, I try to update and to fill the french content of mult-def.lua. Currently, I have an updated "mult-def.lua" file. 3 questions : 1/ which commands should be executed in order to make the new local    interface effective with context context --make

[NTG-context] French interface - previous message = wrong title

2020-06-24 Thread Garulfo
Hi, I try to update and to fill the french content of mult-def.lua. Currently, I have an updated "mult-def.lua" file. 3 questions : 1/ which commands should be executed in order to make the new local interface effective with context 2/ which commands should be executed in order to build a

Re: [NTG-context] reduced space below chapter title

2020-06-02 Thread Wolfgang Schuster
]   [after=\directsetup{chapter:after}] % \setuphead %   [title] %   [after={\blank[...]}] \starttext \dorecurse{10}   {\chapter{Chapter #1}    \input knuth} \stoptext Wolfgang ___ If your question is of interest to others

Re: [NTG-context] reduced space below chapter title

2020-06-02 Thread jbf
of the standard chapter head. Julian On 3/6/20 12:58 am, Wolfgang Schuster wrote: jbf schrieb am 02.06.2020 um 11:41: Hi list, I am attempting to achieve, for every second chapter, to have only one line of space between the chapter title and the text that follows. I looked at the following

Re: [NTG-context] reduced space below chapter title

2020-06-02 Thread Wolfgang Schuster
jbf schrieb am 02.06.2020 um 11:41: Hi list, I am attempting to achieve, for every second chapter, to have only one line of space between the chapter title and the text that follows. I looked at the following example in the wiki: \setuppapersize[A6][A6] \setupbodyfont[8pt] \def

[NTG-context] reduced space below chapter title

2020-06-02 Thread jbf
Hi list, I am attempting to achieve, for every second chapter, to have only one line of space between the chapter title and the text that follows. I looked at the following example in the wiki: \setuppapersize[A6][A6] \setupbodyfont[8pt] \def\MyChapterCommand#1#2% {\vbox to 4cm\bgroup

Re: [NTG-context] write a subtitle under the title of a chapter using outlined font

2020-03-21 Thread Jeong Dal
Dear Hans, Your method perfectly works! The number of chapter use the same font as the main title font and there is no big space between main title and the subtitle. Thank you. Best regards, Dalyoung > > On 3/20/2020 11:07 AM, Jeong Dal wrote: >> Dear Hans, >> Here

Re: [NTG-context] write a subtitle under the title of a chapter using outlined font

2020-03-19 Thread Jeong Dal
Dear Hans, I found how to. By removing ‘& ditto’, then it works! > draw outlinetext.b ("\framed[align=normal]{" & \MPvar{tt} & "}”) Thank you so much. Best regards, Dalyoung ___ If your question is of interest

  1   2   3   4   5   6   7   >